#ifndef _MODELQUERY_H_
#define _MODELQUERY_H_

#include "Vge_ModelCache.h"
#include "Vge_Geo3DObjVisitor.h"

namespace ccgis{

class CCgsModelCache;
class COraModelCache;

class AFX_EXT_CLASS CModelQuery : public CModelCacheVisitor, public CGeo3DObjVisitor
{
public:
	CModelQuery(){}
	virtual ~CModelQuery(){}

	virtual void VisitorCgsModelCache(CCgsModelCache*);
	virtual void VisitorOraModelCache(COraModelCache*);

	virtual void VisitorGeo3DPoint(CGeo3DPoint*);
	virtual void VisitorGeo3DLine(CGeo3DLine*);
	virtual void VisitorGeo3DSurface(CGeo3DSurface*);
	virtual void VisitorGeo3DVolume(CGeo3DVolume*);
	virtual void VisitorGeo3DGroup(CGeo3DGroup*);
	virtual void VisitorGeo3DAnnotation(CGeo3DAnnotation*);	
};

}


#endif//_MODELQUERY_H_